def foo(a, **b):
    print a
    for x in b:
        print "%s: %s" % (x, str(b[x]))

foo(100, name = "huoty", age = "24", addr = "beijing.haidian")
